package me.xiaoyan.ehr.vo;

import lombok.Data;
import me.xiaoyan.ehr.po.Employee;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.data.redis.core.index.Indexed;

@RedisHash("login_user")
@Data
public class LoginUser {
    /**
     * 登录成功后的用户数据凭证
     */
    @Id
    private String token;
    @Indexed
    private Integer id;
    private String account;
    private Employee employee;
}
